package router

import (
	"tool/global"

	"github.com/gin-gonic/gin"
)

func Router() {
	engine := gin.Default()
	engine.LoadHTMLGlob("template/html/*")
	engine.Static("/template", "./template")
	global.Route = engine
	Web(engine)

	engine.Run(":8969")
}
